*{
    margin: 0;
    padding: 0;
}
body{
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background-image: url(../img/login/background.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    backdrop-filter: blur(4px);
}
.from{
    position: relative;
    width: 750px;
    height: 420px;
    border-radius: 10px;
    background-image: url(../img/login/form.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    box-shadow: none;
    transform: translateY(0);
    transition: transform 0.3s ease 0s;
}
.from:hover{
    transform: translateY(-3px);
    box-shadow: -3px 5px 5px 3px #708090;
}
.div{
    float: left;
    height: 100%;
    width: 50%;
    overflow: hidden;
}
.div-form{
    height: 100%;
    width: 100%;
    background-color: #5a83a6;
    display: flex;
    justify-content: center;
    flex-direction: column;
    text-align: center;
}
.div-form h2{
    font-weight: 300;
    margin: 0;
    margin-bottom: 1.25em;
}
.div-input{
    position: relative;
    width: 60%;
    margin: 0 auto;
    margin-bottom: 10px;
    border-radius: 5px;
}
.div-input input{
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    border-radius: 5px;
    border: 1px solid black;
    background-color: #5a83a6;
}
.div-input span{
    position: absolute;
    top: 5px;
    left: 10px;
    pointer-events: none;
    transition: .5s;
    border:none;
    background-color: #5a83a6;
    color: #dcd9d3;
    text-align: center;
}
.div-input input:valid ~ span,
.div-input input:focus ~ span{
    padding: 0 10px;
    transform: translateX(10px)
                translateY(-10px);
    font-size: 12px;
    color: black;
    border-left: 1px solid black;
    border-right: 1px solid black;
    letter-spacing: 4px;
}
.input-button{
    width: 40%;
    height: 32px;
    border: none;
    background-color: #9dc7da;
    border-radius: 10px;
}
.from .register{
    transform: translateX(-100%);
    transition: transform 0.5s ease-out 0s;
    background-color: #5a83a6;
}
.activate .register{
    transform: translateX(0);
}
.from .login{
    transform: translateX(0);
    transition: transform 0.5s ease-out 0s;
    background-color: #5a83a6;
}
.activate .login{
    transform: translateX(100%);
}
.overlay{
    height: 100%;
    width: 50%;
    position: absolute;
    overflow: hidden;
    transform: translateX(0);
    transition: transform 0.5s ease-out 0s;
    display: flex;
    justify-content: center;
    align-items: center;
}
.activate .overlay{
    transform: translateX(100%);
}
.overlay .button{
    position: absolute;
    width: 200%;
    height: 42px;
    left: 0;
    transform: translateX(0);
    transition: transform 0.5s ease-out 0s;
}
.activate .overlay .button{
    transform: translateX(-50%);
}
.overlay .button button{
    width: 30%;
    height: 42px;
    margin-right: 10%;
    margin-left: 10%;
    float: left;
    background-color: #9dc7da;
    color: #ffff;
    font-size: 15px;
    border: none;
    border-radius: 10px;
    transform: scale(1);
}
.overlay .button button:active{
    transform: scale(0.96);
}